package com.dlwx.parttimetalent.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/12/12.
 */

public class IntentClassifyBean {


    /**
     * code : 200
     * result : 获取成功
     * body : [{"labelclassid":15,"classname":"行业用人","child":[{"labelid":19,"childname":"销售1","child":[{"childname":"月半女尼","labelid":8},{"childname":"月半女尼","labelid":9}]},{"labelid":20,"childname":"客服","child":[]},{"labelid":21,"childname":"人事行政","child":[]},{"labelid":22,"childname":"餐饮","child":[]},{"labelid":23,"childname":"旅游","child":[]},{"labelid":24,"childname":"酒店","child":[]},{"labelid":25,"childname":"超市","child":[]},{"labelid":26,"childname":"测试","child":[{"childname":"heihei","labelid":4}]}]},{"labelclassid":16,"classname":"高颜值男神/女神","child":[]},{"labelclassid":17,"classname":"行业大佬","child":[]},{"labelclassid":18,"classname":"名人堂","child":[]}]
     */

    private int code;
    private String result;
    private List<BodyBean> body;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public List<BodyBean> getBody() {
        return body;
    }

    public void setBody(List<BodyBean> body) {
        this.body = body;
    }

    public static class BodyBean {
        /**
         * labelclassid : 15
         * classname : 行业用人
         * child : [{"labelid":19,"childname":"销售1","child":[{"childname":"月半女尼","labelid":8},{"childname":"月半女尼","labelid":9}]},{"labelid":20,"childname":"客服","child":[]},{"labelid":21,"childname":"人事行政","child":[]},{"labelid":22,"childname":"餐饮","child":[]},{"labelid":23,"childname":"旅游","child":[]},{"labelid":24,"childname":"酒店","child":[]},{"labelid":25,"childname":"超市","child":[]},{"labelid":26,"childname":"测试","child":[{"childname":"heihei","labelid":4}]}]
         */

        private int labelclassid;
        private String classname;
        private List<ChildBeanX> child;

        public int getLabelclassid() {
            return labelclassid;
        }

        public void setLabelclassid(int labelclassid) {
            this.labelclassid = labelclassid;
        }

        public String getClassname() {
            return classname;
        }

        public void setClassname(String classname) {
            this.classname = classname;
        }

        public List<ChildBeanX> getChild() {
            return child;
        }

        public void setChild(List<ChildBeanX> child) {
            this.child = child;
        }

        public static class ChildBeanX {
            /**
             * labelid : 19
             * childname : 销售1
             * child : [{"childname":"月半女尼","labelid":8},{"childname":"月半女尼","labelid":9}]
             */

            private int labelid;
            private String childname;
            private boolean isChecked;
            private List<ChildBean> child;

            public boolean isChecked() {
                return isChecked;
            }

            public void setChecked(boolean checked) {
                isChecked = checked;
            }

            public int getLabelid() {
                return labelid;
            }

            public void setLabelid(int labelid) {
                this.labelid = labelid;
            }

            public String getChildname() {
                return childname;
            }

            public void setChildname(String childname) {
                this.childname = childname;
            }

            public List<ChildBean> getChild() {
                return child;
            }

            public void setChild(List<ChildBean> child) {
                this.child = child;
            }

            public static class ChildBean {
                /**
                 * childname : 月半女尼
                 * labelid : 8
                 */

                private String childname;
                private int labelid;

                public String getChildname() {
                    return childname;
                }

                public void setChildname(String childname) {
                    this.childname = childname;
                }

                public int getLabelid() {
                    return labelid;
                }

                public void setLabelid(int labelid) {
                    this.labelid = labelid;
                }
            }
        }
    }
}
